﻿package events
{
	import flash.events.Event;
	import flash.geom.Point;
	
	public class PlateformeEvent extends Event
	{
		public var deplacement : Point ; 
		public static const UPDATE: String = "update" ;
		
		public function PlateformeEvent(type : String, deplacement:Point=null ) 
		{
			super( type );
			this.deplacement = deplacement ; 
		}
		override public function clone() : Event
		{
			return new PlateformeEvent( type, deplacement ) ;
		}		
		override public function toString() : String
		{
			return "[PlateformeEvent : " + type + " " + deplacement + "]" ;
		}		
	}
}